package jy.game.components.wuxue.pojo;


import jy.game.BasePojo;
import jy.game.components.wuxue.JyBuff;
import wx.xml.simpleframework.xml.Attribute;
import wx.xml.simpleframework.xml.Root;

/**
 * 绝技
 */
@Root(name = "unique")
public class JyUniqueSkill extends BasePojo {
    @Attribute(name = "name") public      String name;
    @Attribute(name = "info") public      String info;
    @Attribute(name = "hard") public      double hard;
    @Attribute(name = "covertype") public int    coverType;
    @Attribute(name = "coversize") public int    coverSize;
    @Attribute(name = "castsize") public  int    castSize;
    @Attribute(name = "poweradd") public  double powerAdd;
    @Attribute(name = "requirelv") public int    requireLevel;
    @Attribute(name = "animation") public String animation;
    @Attribute(name = "cd") public        int    castCd;
    @Attribute(name = "costball") public  int    costBall;
    @Attribute(name = "audio") public     String audio;
    @Attribute(name = "buff") public      String buffsValue;
    @Attribute(name = "icon") public      String icon = "";

    // (get) Token: 0x060004D4 RID: 1236 RVA: 0x000048EF File Offset: 0x00002AEF
    @Override public /*override*/ String getPK() {
        {
            return this.name;
        }
    }

    // (get) Token: 0x060004D5 RID: 1237 RVA: 0x000048F7 File Offset: 0x00002AF7
    // [XmlIgnore]
    public Iterable<JyBuff> getBuffs() {
        {
            return JyBuff.Parse(this.buffsValue);
        }
    }
}
